﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="iPhoneLogin.aspx.cs" Inherits="MyBet.Web.iPhoneLogin" ViewStateMode="Enabled"  %>
<%@ Register TagPrefix="uc1" TagName="rank" Src="~/Controls/Rank.ascx" %>
<%@ Register TagPrefix="uc2" TagName="customLogin" Src="~/Controls/CustomLogin.ascx" %>
<%@ Register TagPrefix="uc3" TagName="bet" Src="~/Controls/Bet.ascx" %>
<%@ Register TagPrefix="uc4" TagName="userStatus" Src="~/Controls/UserStatus.ascx" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>ParieurPro Smartphone Login</title>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
    <meta name="viewport" content="width = 320; initial-scale=1.0; maximum-scale=1.0; "  />
    <link rel="stylesheet" type="text/css" href="iphone.css" media="screen and (min-device-width: 481px)" />
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div>
        <asp:LoginView ID="LoginView" runat="server">
            <AnonymousTemplate>
             <div id="top">
                <asp:Label ID="ParieurProTitle" runat="server" Text="ParieurPro.com" Font-Size="Larger" ForeColor="Black" Font-Bold="true" Font-Names="Trebuchet MS"></asp:Label> - <asp:Label ID="ParieurProSubtitle" runat="server" Text="Smartphone" Font-Size="Small" ForeColor="Black" Font-Bold="true" Font-Names="Trebuchet MS"></asp:Label>
                <hr class="clear" />
                <uc2:customLogin id="CustomLoginControl" runat="server"></uc2:customLogin>
            </AnonymousTemplate>
            <LoggedInTemplate>
                <table width="100%">
                    <tr>
                        <td>
                            <uc4:userStatus ID="UserStatus" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <ajaxToolkit:TabContainer ID="TabContainer1" runat="server" Width="100%" 
                                ActiveTabIndex="1" onactivetabchanged="TabContainer1_ActiveTabChanged" 
                                onload="TabContainer1_Load" Visible="true" >
                                <ajaxToolkit:TabPanel ID="BetPanel" runat="server" HeaderText="Parier" Visible="true">
                                    <ContentTemplate>
                                        <table width="100%" style="height: 300px">
                                            <tr valign="top">
                                                <td>
                                                <uc3:bet id="BetControl" runat="server" />
                                                   
                                                </td>
                                            </tr>
                                        </table>
                                    </ContentTemplate>
                                </ajaxToolkit:TabPanel>
                                <ajaxToolkit:TabPanel ID="RankPanel" runat="server" HeaderText="Classement" Visible="true">
                                    <ContentTemplate>
                                       <table>
                                       <tr valign="top">
                                       <td>
                                         <uc1:rank ID="RankControl" runat="server" />
                                       </td>
                                       </tr>
                                       </table>
                                       
                                    </ContentTemplate>
                                </ajaxToolkit:TabPanel>
                            </ajaxToolkit:TabContainer>
                        </td>
                    </tr>
                </table>
            </LoggedInTemplate>
        </asp:LoginView>
    </div>
    </form>
</body>
</html>
